package com.xue566.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 组织架构实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "organi_struct_info")
public class OrganiStructEntity extends BaseEntity {


    @TableId(value = "organicStructId", type = IdType.INPUT)
    private String organicStructId;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "departmentId")
    private String departmentId;
    @TableField(value = "roleId")
    private String roleId;
    @TableField(value = "organicStructDesc")
    private String organicStructDesc;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "isUsed")
    private int isUsed;

    public String getOrganicStructId () {
        return organicStructId;
    }

    public void setOrganicStructId (String organicStructId) {
        this.organicStructId = organicStructId;
    }

    public String getUserId () {
        return userId;
    }

    public void setUserId (String userId) {
        this.userId = userId;
    }

    public String getDepartmentId () {
        return departmentId;
    }

    public void setDepartmentId (String departmentId) {
        this.departmentId = departmentId;
    }

    public String getRoleId () {
        return roleId;
    }

    public void setRoleId (String roleId) {
        this.roleId = roleId;
    }

    public String getOrganicStructDesc () {
        return organicStructDesc;
    }

    public void setOrganicStructDesc (String organicStructDesc) {
        this.organicStructDesc = organicStructDesc;
    }

    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
